/*
 * @Author: zhouwei wei.zhou@flip.fun
 * @Date: 2023-07-10 14:18:43
 * @LastEditors: zhouwei wei.zhou@flip.fun
 * @LastEditTime: 2024-05-16 10:05:23
 * @FilePath: /js_study/app.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
function ride(n, end) {
	if (n === 1) {
		return end
	}
	return ride(n - 1, n * end)
}

console.log(ride(6, 1))
function series(n) {
	if (n === 0) {
		return 0
	}
	if (n === 1 || n === 2) {
		return 1
	}
	return series(n - 1) + series(n - 2)
}
/**
 *
 * @description  department  部门
 * @description  children 子表数据
 */
function get(department) {
	for (let i = 0; i < children.length; i++) {
		const item = children[i]
		if (item.department === department) {
			return item.manager
		}
	}
}

// Promise.all([1,2]).then((res)=>{
// 	console.log(res,'aaaaa');
// })

exports.asd = {
	asd: '123',
}
console.log(module.exports)
